package com.jg.mapper;

import com.jg.entity.Employees;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 86130
 * @description 针对表【employee_attendance(员工考勤记录表)】的数据库操作Mapper
 * @createDate 2025-05-30 08:39:46
 * @Entity com.jg.entity.EmployeeAttendance
 */
public interface EmployeeAttendanceMapper {
    // 查询所有员工考勤的次数(按次数倒序排列)，只要返回员工工号、员工姓名、考勤的次数
    List<Employees> findEmpAttendanceCount();
    // 删除离职状态员工的考勤记录
    Integer deleteByEmpStatus();
}
